package simplefactory;

import simplefactory.store.OneFruitStore;

/**
 * @ClassName: main
 * @Description:
 * @Date: 2021/1/12 14:46
 * @Author: Song JinGen
 */
public class main {
    public static void main(String[] args) {
        OneFruitStore oneFruitStore = new OneFruitStore(new SimpleFruitFactory());
        oneFruitStore.orderFruit("apple");
        System.out.println("购买完成");
    }
}
